<?php

namespace App\Models;


class MemberPrice extends Orm
{
    //
    protected $table = 'member_price';
    protected $dateFormat = 'U';
    public $timestamps = true;

    public function getPriceAttribute()
    {
        return sprintf("%.2f", $this->attributes['price']/100);
    }
}
